import request from '@/utils/request'

// 查询参数列表
export function Yuyulist(query) {
  return request({
    url: '/house/reservation/list',
    method: 'get',
    params: query
  })
}


// 省
export function getsheng() {
  return request({
    url: '/house/region/sheng/',
    method: 'get'
  })
}

// 查询市
export function getshi(pid) {
  return request({
    url: '/house/region/shi/',
    method: 'get',
    params: pid,
  })
}


// 查询县列表
export function getxian(pid) {
  return request({
    url: '/house/region/xian/',
    method: 'get',
    params: pid,
  })
}

// 批量修改状态0
export function editStatus(query) {
  return request({
    url: '/house/info/updatas',
    method: 'post',
    params: query
  })
}

// 批量修改状态1
export function editStatus1(query) {
  return request({
    url: '/house/info/updatas',
    method: 'post',
    params: query
  })
}
